Syntax:
WHILE a#$ = < <= > >= <> b#$WEND
Loops the code in between WHILE and WEND as long as the comparision of a#$ and b#$ ist TRUE.
Sample:
i=0WHILE i < 5 i=i+1 PRINT i, i*32, 100WENDSHOWSCREENMOUSEWAIT